<!DOCTYPE html>
<html    xmlns:th="http://www.thymeleaf.org">

<head th:replace="comm/common :: header(~{::title},~{},~{})">
    <title>编辑角色</title>
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight" style="padding:0px;">
        <div class="row">
            <div style="width: 100%">
                <div class="ibox">
                    <div class="ibox-content">
                        <form id="roleFormAdd"  class="wizard-big">
                            <input type="hidden" name="id" th:value="${role.id}">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">角色名称：</label>
                                <div class="col-sm-8">
                                    <input id="roleName" name="roleName" minlength="2" type="text" class="form-control" th:value="${role.roleName}" required="" aria-required="true">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">角色描述：</label>
                                <div class="col-sm-8">
                                    <input id="roleTips" type="text" class="form-control" name="roleTips" required="" th:value="${role.roleTips}" aria-required="true">
                                </div>
                            </div>
                            <div class="form-group" style="text-align: center">
                                <div class="col-sm-4 col-sm-offset-3">
                                    <button id="addRoleSubmit" class="btn btn-block btn-primary">保存</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div th:replace="comm/common :: bottom"></div>
    <script th:src="@{/admin/role/edit_role.js}"></script>
</body>

</html>
